/**
 * 版权所有 2009-2015 旺晓杨 peonyxy@msn.cn
 **/
package com.cn;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import cn.ac.cintcm.sh.dao.HsqldbDao;

public class HsqlDbContext implements ServletContextListener {
    
    
    public void contextDestroyed(ServletContextEvent event) {
        /*HsqldbDao dao = new HsqldbDao();
        dao.initiate();
        dao.openConnection();
        dao.execute("shutdown");
        dao.closeConnection();
        */
       
    }

    public void contextInitialized(ServletContextEvent event) {
        /*ServletContext sc = event.getServletContext();
        HsqldbDao dao = new HsqldbDao();
        dao.initiate();
        dao.openConnections();
        sc.setAttribute("dao", dao);
        */
    }

}